<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="/Saysaying/Public/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="/Saysaying/Public/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/Saysaying/Public/css/style.css">
    <script type="text/javascript" src="/Saysaying/Public/js/jquery-2.2.3.js"></script>
    <script type="text/javascript" src="/Saysaying/Public/js/bootstrap3.0.3.min.js"></script>
    <script type="text/javascript" src="/Saysaying/Public/js/wow.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#collapse" aria-expanded="false">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <h3 class="text-center">
                <a href=<?php echo U("Home/Index/index");?>>
                    返回主页
                </a>
            </h3>
        </div>
</nav>
<!-- 导航结束 -->
<!-- 内容开始 -->
<!-- xs表示手机，sm表示平板，md表示电脑，lg...大屏幕-->
<!-- 这里加载数据得准备4列 ,加载数据动态加载个到col中-->
<div class="container-fluid" id="main">
    <div class="col-xs-12 col-sm-6 col-md-3">
            <div class="list wow fadeIn" data-wow-delay="0.3s">
                <div class="list-header">
                    <times><?php echo (date("Y-m-d H:i",$content["intime"])); ?></times>
                    <h4>TO : <?php echo ($content["content_to"]); ?></h4>
                </div>
                <div class="list-content">
                    <?php echo ($content["content"]); ?>
                </div>
                <div class="list-footer">
                    <h4>FROM : <?php echo ($content["ssid"]); ?></h4>
                    <p>
                        <a href="#"> 赞 156</a>
                        <a href="#"> 分享 1565</a>
                    </p>
                </div>
                <div class="comment">
                    <?php foreach ($comment_datas as $comment_datas): ?>
                        <p><span><?php echo $comment_datas['ssid']; ?></span>：<?php echo $comment_datas['comm']; ?></p>
                    <?php endforeach; ?>
                    <form method="post" action="<?php U("Home/Index/comment") ?>">
                        <div class="input-group">
                            <input type="text" class="form-control" name="comment" placeholder="评论">
                            <span class="input-group-btn">
				    	<button class="btn btn-default" type="submit">发送</button>
					</span>
                        </div>
                    </form>
                </div>
            </div>
    </div>
</div>
</body>
</html>
<script>
    if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){
        new WOW().init();
    };
</script>